package com.hornsun.data.dbo;

import java.util.Date;

public class Client {
    private String clientGuid;

    private String account;

    private String password;

    private String name;

    private String phone;

    private String eMail;

    private String portrait;

    private Integer departmentId;

    private String roleGuid;

    private Byte whetherAuth;

    private String units;

    private String address;

    private Date createTime;

    public String getClientGuid() {
        return clientGuid;
    }

    public void setClientGuid(String clientGuid) {
        this.clientGuid = clientGuid == null ? null : clientGuid.trim();
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String geteMail() {
        return eMail;
    }

    public void seteMail(String eMail) {
        this.eMail = eMail == null ? null : eMail.trim();
    }

    public String getPortrait() {
        return portrait;
    }

    public void setPortrait(String portrait) {
        this.portrait = portrait == null ? null : portrait.trim();
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public String getRoleGuid() {
        return roleGuid;
    }

    public void setRoleGuid(String roleGuid) {
        this.roleGuid = roleGuid == null ? null : roleGuid.trim();
    }

    public Byte getWhetherAuth() {
        return whetherAuth;
    }

    public void setWhetherAuth(Byte whetherAuth) {
        this.whetherAuth = whetherAuth;
    }

    public String getUnits() {
        return units;
    }

    public void setUnits(String units) {
        this.units = units == null ? null : units.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", clientGuid=").append(clientGuid);
        sb.append(", account=").append(account);
        sb.append(", password=").append(password);
        sb.append(", name=").append(name);
        sb.append(", phone=").append(phone);
        sb.append(", eMail=").append(eMail);
        sb.append(", portrait=").append(portrait);
        sb.append(", departmentId=").append(departmentId);
        sb.append(", roleGuid=").append(roleGuid);
        sb.append(", whetherAuth=").append(whetherAuth);
        sb.append(", units=").append(units);
        sb.append(", address=").append(address);
        sb.append(", createTime=").append(createTime);
        sb.append("]");
        return sb.toString();
    }
}